package com.morehair.service.wx;

import com.morehair.bean.bo.wx.OrderCommentBo;
import com.morehair.bean.bo.wx.OrderSubmitBo;
import com.morehair.bean.bo.wx.WxOrderCancelBo;
import com.morehair.bean.pojo.OrderGoods;
import com.morehair.bean.vo.wx.WxOrderDetailVo;
import com.morehair.bean.vo.wx.WxOrderInfoListVo;

/**
 * @Description:
 * @Author raohui
 * @Date 2021/6/9 19:33
 */
public interface WxOrderService {
    Integer submitOrder(OrderSubmitBo orderInfo);

    WxOrderInfoListVo getOrderList(Integer showType, Integer page, Integer size, Integer userId);

    WxOrderDetailVo getOrderDetail(Integer orderId);

    void addComment(OrderCommentBo orderInfo);

    void cancelOrder(Integer orderId);

    void refundOrder(Integer orderId);

    void deleteOrder(WxOrderCancelBo orderId);

    void confirmOrder(WxOrderCancelBo orderId);

    OrderGoods getOrderGoods(Integer orderId, Integer goodsId);
}
